import React, { Component } from 'react'
import { hashHistory } from 'react-router'
import './style.less'
import { LoginForm } from './'
import { TabBar } from '../footer'
import { myFetch, helper, config } from '../utils'

export default class Homepage extends Component {
  render() {
    return (
      <div className="rt-login">
        <header className="rt-yitang-head">
          <div className="rt-yitang-title">
            <div className="rt-yitang-back" onClick={()=>hashHistory.goBack()}>
              <img src="./statics/images/back.png"/>
            </div>
            
            <div className="rt-yitang-logo"></div>
            <h1>溢唐数据</h1>
            <p className="rt-yitang-describ">
              国内首家跨境Pre-IPO股权合投平台
            </p>
          </div>
        </header>
        <LoginForm />
        <div onClick={(e)=>{hashHistory.push('/register')}} className="cm-main-button -bg">
          注册
        </div>
      </div>
      )
  }
}